package com.top.art.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * The type Login info bo.
 *
 * @author hjh
 * @version 2020 /10/4-9:45
 */
@Data
public class LoginInfoBO {

    @NotBlank(message = "用户账号不能为空")
    @Size(max = 150,message = "用户账号太长")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

}
